<?php
return [
    [
        //父菜单ID，NULL或者不写系统默认，0为顶级菜单
        "parentid"  => 0,
        //地址，[模块/]控制器/方法
        "route"     => "cms/cms/index1",
        //类型，1：权限认证+菜单，0：只作为菜单
        "type"      => 0,
        //状态，1是显示，0不显示（需要参数的，建议不显示，例如编辑,删除等操作）
        "status"    => 1,
        //名称
        "name"      => "内容",
        //图标
        "icon"      => "icon-draft-line",
        //备注
        "remark"    => "",
        //排序
        "listorder" => 3,
        //子菜单列表
        "child"     => [
            [
                "route"  => "cms/cms/index2",
                "type"   => 1,
                "status" => 1,
                "name"   => "内容管理",
                "icon"   => "icon-draft-line",
                "child"  => [
                    [
                        "route"  => "cms/cms/index",
                        "type"   => 1,
                        "status" => 1,
                        "name"   => "管理内容",
                        "icon"   => "icon-draft-line",
                        "child"  => [
                            [
                                "route"  => "cms/cms/panl",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "面板",
                            ],
                            [
                                "route"  => "cms/cms/classlist",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "信息列表",
                            ],
                            [
                                "route"  => "cms/cms/add",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "添加",
                            ],
                            [
                                "route"  => "cms/cms/edit",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "编辑",
                            ],
                            [
                                "route"  => "cms/cms/del",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "删除",
                            ],
                            [
                                "route"  => "cms/cms/listorder",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "排序",
                            ],
                            [
                                "route"  => "cms/cms/remove",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "批量移动",
                            ],
                            [
                                "route" => "cms/cms/revoke",
                                "type" => 1,
                                "status" => 0,
                                "name" => "内容移除",
                            ],
                            [
                                "route"  => "cms/cms/setstate",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "状态",
                            ],
                            [
                                "route"  => "cms/cms/check_title",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "标题检查",
                            ],
                            [
                                "route"  => "cms/cms/recycle",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "回收站",
                                "icon"   => "icon-trash",
                            ],
                            [
                                "route"  => "cms/cms/destroy",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "清空回收站",
                            ],
                            [
                                "route"  => "cms/cms/restore",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "还原回收站",
                            ],
                            [
                                "route" => "cms/push/cms",
                                "type" => 1,
                                "status" => 0,
                                "name" => "翻译推送",
                            ],
                        ],
                    ],
                    [
                        "route"  => "cms/publish/index",
                        "type"   => 1,
                        "status" => 1,
                        "name"   => "稿件管理",
                        "icon"   => "icon-draft-line",
                        "child"  => [
                            [
                                "route"  => "cms/publish/del",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "删除",
                            ],
                            [
                                "route"  => "cms/publish/pass",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "通过",
                            ],
                            [
                                "route"  => "cms/publish/reject",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "退稿",
                            ],
                        ],
                    ],
                    [
                        "route"  => "cms/tags/index",
                        "type"   => 1,
                        "status" => 1,
                        "name"   => "Tags管理",
                        "icon"   => "icon-label",
                        "child"  => [
                            [
                                "route"  => "cms/tags/index",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "列表",
                            ],
                            [
                                "route"  => "cms/tags/add",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "添加",
                            ],
                            [
                                "route"  => "cms/tags/edit",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "编辑",
                            ],
                            [
                                "route"  => "cms/tags/del",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "删除",
                            ],
                            [
                                "route"  => "cms/tags/create",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "数据重建",
                            ],
                            [
                                "route"  => "cms/tags/multi",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "批量更新",
                            ],
                        ],
                    ],
                    [
                        "route"  => "cms/chapter/index",
                        "type"   => 1,
                        "status" => 0,
                        "name"   => "章节内容",
                        "icon"   => "icon-draft-line",
                        "child"  => [
                            [
                                "route"  => "cms/chapter/index",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "章节列表",
                            ],
                            [
                                "route"  => "cms/chapter/add",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "添加",
                            ],
                            [
                                "route"  => "cms/chapter/edit",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "编辑",
                            ],
                            [
                                "route"  => "cms/chapter/del",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "删除",
                            ],
                            [
                                "route"  => "cms/chapter/listorder",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "排序",
                            ],
                            [
                                "route"  => "cms/chapter/setstate",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "状态",
                            ],
                            [
                                "route"  => "cms/chapter/check_title",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "标题检查",
                            ],
                            [
                                "route"  => "cms/chapter/recycle",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "回收站",
                                "icon"   => "icon-trash",
                            ],
                            [
                                "route"  => "cms/chapter/destroy",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "清空回收站",
                            ],
                            [
                                "route"  => "cms/chapter/restore",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "还原回收站",
                            ],
                            [
                                "route" => "cms/push/chapter",
                                "type" => 1,
                                "status" => 0,
                                "name" => "翻译推送",
                            ],
                        ],
                    ],
                ],
            ],
            [
                "route"  => "cms/category/index",
                "type"   => 1,
                "status" => 1,
                "name"   => "相关设置",
                "icon"   => "icon-file-settings-line",
                "child"  => [
                    [
                        "route"  => "cms/setting/index",
                        "type"   => 1,
                        "status" => 1,
                        "name"   => "CMS配置",
                        "icon"   => "icon-file-settings-line",
                    ],
                    [
                        "route"  => "cms/setting/change",
                        "type"   => 1,
                        "status" => 0,
                        "name"   => "站点切换",
                    ],
                    [
                        "route"  => "cms/category/index",
                        "type"   => 1,
                        "status" => 1,
                        "name"   => "栏目管理",
                        "icon"   => "icon-other",
                        "child"  =>
                            [
                                [
                                    "route"  => "cms/category/add",
                                    "type"   => 1,
                                    "status" => 0,
                                    "name"   => "添加栏目",
                                ],
                                [
                                    "route"  => "cms/category/singlepage",
                                    "type"   => 1,
                                    "status" => 0,
                                    "name"   => "添加单页",
                                ],
                                [
                                    "route"  => "cms/category/cat_priv",
                                    "type"   => 1,
                                    "status" => 0,
                                    "name"   => "栏目授权",
                                ],
                                [
                                    "route"  => "cms/category/edit",
                                    "type"   => 1,
                                    "status" => 0,
                                    "name"   => "编辑栏目",
                                ],
                                [
                                    "route"  => "cms/category/del",
                                    "type"   => 1,
                                    "status" => 0,
                                    "name"   => "删除栏目",
                                ],
                                [
                                    "route"  => "cms/category/multi",
                                    "type"   => 1,
                                    "status" => 0,
                                    "name"   => "批量更新",
                                ],
                                [
                                    "route"  => "cms/category/public_tpl_file_list",
                                    "type"   => 1,
                                    "status" => 0,
                                    "name"   => "栏目模板",
                                ],
                                [
                                    "route" => "cms/push/category",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "翻译推送",
                                ],
                            ],
                    ],
                    [
                        "route"  => "cms/models/index",
                        "type"   => 1,
                        "status" => 1,
                        "name"   => "模型管理",
                        "icon"   => "icon-apartment",
                        "child"  => [
                            [
                                "route"  => "cms/field/index",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "字段管理",
                            ],
                            [
                                "route"  => "cms/field/add",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "字段添加",
                            ],
                            [
                                "route"  => "cms/field/edit",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "字段编辑",
                            ],
                            [
                                "route"  => "cms/field/del",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "字段删除",
                            ],
                            [
                                "route"  => "cms/field/listorder",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "字段排序",
                            ],
                            [
                                "route"  => "cms/field/setstate",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "字段状态",
                            ],
                            [
                                "route"  => "cms/field/setsearch",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "字段搜索",
                            ],
                            [
                                "route"  => "cms/field/setvisible",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "字段隐藏",
                            ],
                            [
                                "route"  => "cms/field/setrequire",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "字段必须",
                            ],

                            [
                                "route"  => "cms/models/add",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "添加模型",
                            ],
                            [
                                "route"  => "cms/models/edit",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "修改模型",
                            ],
                            [
                                "route"  => "cms/models/del",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "删除模型",
                            ],
                            [
                                "route"  => "cms/models/multi",
                                "type"   => 1,
                                "status" => 0,
                                "name"   => "批量更新",
                            ],
                        ],
                    ],
                    [
                        "route" => "cms/site/index",
                        "type" => 1,
                        "status" => 1,
                        "name" => "站点管理",
                        "icon" => "icon-global",
                        "child" =>
                            [
                                [
                                    "route" => "cms/site/index",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "站点管理",
                                ],
                                [
                                    "route" => "cms/site/add",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "添加站点",
                                ],
                                [
                                    "route" => "cms/site/edit",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "站点编辑",
                                ],
                                [
                                    "route" => "cms/site/del",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "站点删除",
                                ],
                                [
                                    "route" => "cms/site/listorder",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "站点排序",
                                ],
                                [
                                    "route" => "cms/site/setstate",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "站点状态",
                                ],
                                [
                                    "route" => "cms/site/cache",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "站点缓存",
                                ],
                                [
                                    "route" => "cms/push/translator",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "站点翻译",
                                ],
                                [
                                    "route" => "cms/domain/index",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "站点域名",
                                ],
                                [
                                    "route" => "cms/domain/add",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "添加域名",
                                ],
                                [
                                    "route" => "cms/domain/del",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "域名删除",
                                ],
                                [
                                    "route" => "cms/domain/listorder",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "域名排序",
                                ],
                                [
                                    "route" => "cms/domain/setstate",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "域名状态",
                                ],
                                [
                                    "route" => "cms/domain/cache",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "域名缓存",
                                ],
                            ],
                    ],
                    [
                        "route" => "cms/lang/index",
                        "type" => 1,
                        "status" => 1,
                        "name" => "多语言库",
                        "icon" => "icon-manage",
                        "child" =>
                            [
                                [
                                    "route" => "cms/lang/index",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "碎片管理",
                                ],
                                [
                                    "route" => "cms/lang/add",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "添加碎片",
                                ],
                                [
                                    "route" => "cms/lang/edit",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "碎片编辑",
                                ],
                                [
                                    "route" => "cms/lang/del",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "碎片删除",
                                ],
                                [
                                    "route" => "cms/lang/listorder",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "碎片排序",
                                ],
                                [
                                    "route" => "cms/lang/setstate",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "碎片状态",
                                ],
                                [
                                    "route" => "cms/lang/cache",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "碎片缓存",
                                ],
                                [
                                    "route" => "cms/push/lang",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "翻译推送",
                                ],
                            ],
                    ],
                    [
                        "route" => "cms/special/index",
                        "type" => 1,
                        "status" => 1,
                        "name" => "专题管理",
                        "icon" => "icon-select",
                        "child" =>
                            [
                                [
                                    "route" => "cms/special/index",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "专题管理",
                                ],
                                [
                                    "route" => "cms/special/lists",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "内容管理",
                                ],
                                [
                                    "route" => "cms/special/revoke",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "内容移除",
                                ],
                                [
                                    "route" => "cms/special/sort",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "内容排序",
                                ],
                                [
                                    "route" => "cms/special/add",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "添加专题",
                                ],
                                [
                                    "route" => "cms/special/edit",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "专题编辑",
                                ],
                                [
                                    "route" => "cms/special/del",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "专题删除",
                                ],
                                [
                                    "route" => "cms/special/listorder",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "专题排序",
                                ],
                                [
                                    "route" => "cms/special/setstate",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "专题状态",
                                ],
                                [
                                    "route" => "cms/special/cache",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "专题缓存",
                                ],
                            ],
                    ],
                    [
                        "route" => "cms/flag/index",
                        "type" => 1,
                        "status" => 1,
                        "name" => "属性管理",
                        "icon" => "icon-flag",
                        "child" =>
                            [
                                [
                                    "route" => "cms/flag/index",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "属性管理",
                                ],
                                [
                                    "route" => "cms/flag/lists",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "内容管理",
                                ],
                                [
                                    "route" => "cms/flag/revoke",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "内容移除",
                                ],
                                [
                                    "route" => "cms/flag/sort",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "内容排序",
                                ],
                                [
                                    "route" => "cms/flag/add",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "属性添加",
                                ],
                                [
                                    "route" => "cms/flag/edit",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "属性编辑",
                                ],
                                [
                                    "route" => "cms/flag/del",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "删除属性",
                                ],
                                [
                                    "route" => "cms/flag/listorder",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "属性排序",
                                ],
                                [
                                    "route" => "cms/flag/setstate",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "属性状态",
                                ],
                                [
                                    "route" => "cms/flag/cache",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "属性缓存",
                                ],
                            ],
                    ],
                    [
                        "route" => "cms/template/index",
                        "type" => 1,
                        "status" => 1,
                        "name" => "模版管理",
                        "icon" => "icon-palette-line",
                        "child" =>
                            [
                                [
                                    "route" => "cms/template/index",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "模版管理",
                                ],
                                [
                                    "route" => "cms/template/local",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "本地安装",
                                ],
                            ],
                    ],
                    [
                        "route" => "cms/search/index",
                        "type" => 1,
                        "status" => 1,
                        "name" => "搜索记录",
                        "icon" => "icon-search",
                        "child" =>
                            [
                                [
                                    "route" => "cms/search/index",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "搜索列表",
                                ],
                                [
                                    "route" => "cms/search/add",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "添加搜索",
                                ],
                                [
                                    "route" => "cms/search/edit",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "搜索编辑",
                                ],
                                [
                                    "route" => "cms/search/del",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "搜索删除",
                                ],
                            ],
                    ],
                    [
                        "route" => "admin/ajax/index",
                        "type" => 1,
                        "status" => 0,
                        "name" => "其他权限",
                        "child" =>
                            [
                                [
                                    "route" => "admin/ajax/filterWord",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "过滤内容的敏感词",
                                ],
                                [
                                    "route" => "admin/ajax/icon",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "生成后缀图标",
                                ],
                                [
                                    "route" => "admin/ajax/category",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "同步栏目选择",
                                ],
                                [
                                    "route" => "admin/ajax/memberGroup",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "会员级别选择",
                                ],
                                [
                                    "route" => "admin/ajax/member",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "会员选择",
                                ],
                                [
                                    "route" => "admin/ajax/special",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "专题选择",
                                ],
                                [
                                    "route" => "admin/ajax/flag",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "属性选择",
                                ],
                                [
                                    "route" => "admin/ajax/getTitlePinyin",
                                    "type" => 1,
                                    "status" => 0,
                                    "name" => "自定义拼音生成",
                                ],
                            ],
                    ],
                ],
            ],
        ],
    ],
];
